package com.hxzy.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController //controller里面的方法都以json格式输出，不用再写什么jackjson配置的了！
public class StudentController {
	@RequestMapping("/hello")
	public String index(){
		return "Hello World!";
	}
}
